SmartPay\Modules\Payment\Payment S

Total Complexity 36
Dependencies 6
Dependents 2
Total lines 259
Lines of code 178
Logical lines of code 97
Comment lines 14
Methods 10
Properties 1

Methods 10

Method Rating Maintainability Complexity Lines of code
ajax_process_payment()
A
53 8 22
_get_payment_data()
S
50 7 29
insertPayment()
S
52 5 22
_process_gateway_payment()
S
59 4 13
_get_payment_customer()
S
55 3 20
_prepare_payment_data()
S
53 2 20
registerRestRoutes()
S
51 1 32
onPaymentComplete()
S
66 3 8
_checkValidation()
S
71 2 5
__construct()
S
67 1 7